package top.v5it.japi.plus.example.client.service.imple;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.v5it.japi.plus.example.client.service.ExampleService;

import java.util.List;
import java.util.Map;

/**
 * @author zhanpu
 * @date 2022/8/15
 */
@Service(ExampleService.SERVICE_NAME)
@Slf4j
public class ExampleServiceImpl implements ExampleService {

    @Override
    public String hello(String name) {
        return "hello " + name;
    }

    @Override
    public List<Map<String, Object>> addInBatch(List<Map<String, Object>> maps) {
        log.info("{}", maps);
        return maps;
    }

    @Override
    public List tests(List list) {
        log.info("{}", list);
        return list;
    }
}
